<div id="loginForm">
    <?php
        if(isset($_SESSION['loginError'])) {
            ?><div id="error"><?php echo $_SESSION['loginError'];?></div>
    <?php
        
            unset($_SESSION['loginError']);
        }?>
    <div id="loginFormHeader">Member Login</div>
    <div id="">
        <form name="loginForm" method="post" action="checkLogin.php">
            <p class="username">
                <label for="username">Username</label>
                <input id="username" name="myusername" type="text" id="myusername">
            </p>

            <p class="password">
                <label for="password">Password</label>
                <input id="password" name="mypassword" type="password" id="mypassword">
            </p>

            <input type="submit" name="Submit" value="Login">
        </form>
    </div>
</div>